/*
 * @Author: your name
 * @Date: 2019-11-27 09:05:29
 * @LastEditTime: 2019-11-29 21:36:34
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \web\avue-cli\src\const-personal\sysSetup\user.js
 */
import {
  DIC
} from '@/const/dic'
// 用户管理
export const userListOption = {
  index: true,
  indexLabel: '序号',
  border: true,
  menu: true,
  addBtn: false,
  cellBtn: false,
  editBtn: false,
  delBtn: false,
  dicData: DIC,
  size: 'mini',
  align: "center",
  menuWidth: 200,
  refreshBtn: false,
  searchBtn: false,
  menuAlign: "center",
  columnBtn: false,
  column: [{
    label: "账户状态",
    prop: "status",
    slot: true,
    // width: "140",
  }, {
    label: "账户名",
    prop: "username",
  }, {
    label: "姓名",
    prop: "name",
  }, {
    label: "联系方式",
    prop: "mobile",
    // width: "140",
  }, {
    label: "部门",
    prop: "department",
    slot: true
  }, {
    label: "角色类型",
    prop: "role",
    slot: true
  }, {
    label: "最后登录时间",
    prop: "landingTime",
      width: "150",
  }, {
    label: "最后修改人",
    prop: "updateName",
    // slot: true,
  }, {
    label: "时间",
    prop: "updateTime",
      width: "150",
    // slot: true,
  }]
};
// 角色管理
export const roleListOption = {
  index: true,
  indexLabel: '序号',
  border: true,
  menu: true,
  addBtn: false,
  cellBtn: false,
  editBtn: false,
  delBtn: false,
  dicData: DIC,
  size: 'mini',
  align: "center",
  menuWidth: 200,
  refreshBtn: false,
  searchBtn: false,
  menuAlign: "center",
  columnBtn: false,
  column: [{
    label: "角色名称",
    prop: "name",
  }, {
    label: "最后修改人",
    prop: "updateName",
  }, {
    label: "时间",
    prop: "updateTime",
      width: "150",
  }]
};